<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>律师事务所</title>
  <link rel="icon" href="static/images/logo.png">
  <link rel="stylesheet" href="./static/css/style.css">
</head>
<body>
  <header>
    <nav class="navbar">
      <div class="navbar-logo">
        <img class="logo" src="static/images/logo2.png" alt="logo" />
      </div>
      <i class="menu" id="menu"></i>
      <div class="navbar-menu-box">
        <ul class="navbar-menu">
          <li><a href="./index.html">首页</a></li>
          <li><a href="./business.html">业务领域</a></li>
          <li>
            <a>实战案例 <i class="more"></i></a>
            <ul class="submenu">
              <li><a href="/">案例一</a></li>
              <li><a href="/">案例二</a></li>
              <li><a href="/">案例三</a></li>
            </ul>
          </li>
          <li><a href="./team.html">律师团队</a></li>
          <li>
            <a>媒体平台 <i class="more"></i></a>
            <ul class="submenu">
              <li><a href="/">案例一</a></li>
              <li><a href="/">案例二</a></li>
              <li><a href="/">案例三</a></li>
            </ul>
          </li>
          <li class="active"><a href="/">联系方式</a></li>
        </ul>
        <div class="language">
          <img class="flag" src="static/images/en.png" />
          <span class="text">Engling</span>
          <img class="down" src="static/images/down.png" />
        </div>
      </div>
    </nav>
  </header>
  <div class="home-container">
    <div class="carousel" id="business-carousel">
      <div class="carousel-slides">
        <div class="carousel-slide">
          <img src="./static/images/pic.png" alt="" width="100%" />
        </div>
        <div class="carousel-slide">
          <img src="./static/images/pic.png" alt="" width="100%" />
        </div>
        <div class="carousel-slide">
          <img src="./static/images/pic.png" alt="" width="100%" />
        </div>
      </div>
      <button class="carousel-btn prev"><i class="icon-prev"></i></button>
      <button class="carousel-btn next"><i class="icon-next"></i></button>
      <div class="carousel-dots">
        <span class="carousel-dot"></span>
        <span class="carousel-dot"></span>
        <span class="carousel-dot"></span>
      </div>
    </div>
    <div class="contactUs">
      <div class="left">
        <p class="title">写下您的留言</p>
        <p class="msg">别让未来惊扰你。若必须面对，你会用当下用以武装自己抵御（未知）的理性武器去应对它。别让未来惊扰你。若必须面对，你会用同样的理性武器去应对它。</p>
        <div class="form">
          <input type="text" placeholder="您的姓名 *" />
          <input type="text" placeholder="您的邮箱 *" />
          <input type="text" placeholder="电话 *" />
          <input type="text" placeholder="主题" />
          <textarea placeholder="您的留言..."></textarea>
        </div>
        <button class="btn">提交</button>
      </div>
      <div class="right">
        <p class="title">联系我们</p>
        <p class="name"><img src="./static/images/address.png" />地址</p>
        <p class="msg">5648,VK 26th Brooke Line Steet,Columbia,SC29201,london,United Kingdom</p>
        <p class="name"><img src="./static/images/phone2.png" />电话</p>
        <p class="msg">+123 859 625, +321 569 742</p>
        <p class="msg">Lawyerjustice@Steelthemes.com</p>
        <p class="name"><img class="time" src="./static/images/time.png" />办公时间</p>
        <p class="msg flex">周一 <span>09:00 - 17:00</span></p>
        <p class="msg flex">周二 <span>09:00 - 17:00</span></p>
        <p class="msg flex">周三 <span>09:00 - 17:00</span></p>
        <p class="msg flex">周四 <span>09:00 - 17:00</span></p>
        <p class="msg flex">周五 <span>09:00 - 17:00</span></p>
        <p class="msg flex">周六 <span>10:00 - 13:00</span></p>
        <p class="msg flex">周日 <span>休息</span></p>
      </div>
    </div>
    <div class="box contact2">
      <p class="name">联系我们</p>
      <div class="cont">
        <div class="info">
          <p class="msg">1163 Fairway Drive, Suite 105</p>
          <p class="msg">City of Industry, CA 91789 </p>
          <p class="msg" style="color: #EBC42A">(909) 468-2165</p>
          <p class="msg">office@theliulawfirm.com</p>
        </div>
        <div class="img">
          <span class="code"><img width="100%" src="./static/images/code1.jpg" /></span>
          <span class="code"><img width="100%" src="./static/images/code2.jpg" /></span>
        </div>
    </div>
    </div>
  </div>
  <footer class="footer">
    © 2025, LIU LAW. All Rights Reserved.
    <div class="language">
      <img class="flag" src="static/images/en.png" />
      <span class="text">Engling</span>
      <img class="down" src="static/images/down.png" />
    </div>
  </footer>
</body>
<script>
  document.querySelector("#menu").addEventListener("click", function () {
    var menuBox = document.querySelector(".navbar-menu");
    if (menuBox.style.display === "block") {
      menuBox.style.display = "none";
    } else {
      menuBox.style.display = "block";
    }
  })
  document.querySelectorAll('.navbar-menu > li').forEach(function(li) {
    li.addEventListener('click', function(e) {
      e.stopPropagation();
      var submenu = li.querySelector('.submenu');
      if (submenu) {
        document.querySelectorAll('.navbar-menu .submenu').forEach(function(other) {
          if (other !== submenu) {
            other.style.display = 'none';
          }
        });
        if (submenu.style.display === 'block') {
          submenu.style.display = 'none';
        } else {
          submenu.style.display = 'block';
        }
      } else {
        document.querySelectorAll('.navbar-menu .submenu').forEach(function(other) {
          other.style.display = 'none';
        });
      }
    });
  });

  (function() {
      var carousel = document.getElementById('business-carousel');
      var slides = carousel.querySelector('.carousel-slides');
      var slideCount = slides.children.length;
      var current = 0;
      var dots = carousel.querySelectorAll('.carousel-dot');
      var timer = null;

      function showSlide(idx) {
        if(idx < 0) idx = slideCount - 1;
        if(idx >= slideCount) idx = 0;
        slides.style.transform = 'translateX(' + (-idx * 100) + '%)';
        dots.forEach(function(dot, i) {
          dot.style.opacity = (i === idx) ? '1' : '0.6';
          dot.style.background = (i === idx) ? '#EBC42A' : '#fff';
        });
        current = idx;
      }

      function nextSlide() {
        showSlide(current + 1);
      }
      function prevSlide() {
        showSlide(current - 1);
      }

      carousel.querySelector('.carousel-btn.next').onclick = nextSlide;
      carousel.querySelector('.carousel-btn.prev').onclick = prevSlide;
      dots.forEach(function(dot, i) {
        dot.onclick = function() { showSlide(i); };
      });

      function startAuto() {
        timer = setInterval(nextSlide, 4000);
      }
      function stopAuto() {
        clearInterval(timer);
      }
      carousel.onmouseenter = stopAuto;
      carousel.onmouseleave = startAuto;

      showSlide(0);
      startAuto();
    })();
  
</script>
</html>
